/*
 * ProgressBar.h
 *
 *  Created on: 17/10/2011
 *      Author: diego
 */

using namespace std;
#include <stdlib.h>
#include <iostream>
#include <string>
#include <fstream>
#include <sstream>

#ifndef PROGRESSBAR_H_
#define PROGRESSBAR_H_

class ProgressBar {
private:
	int largo;
	int cant_numerales;
	string string_inicial;
	string secuencia;
	int contador;

	string toString(int n);
public:
	ProgressBar(int largo);
	void iniciar();
	void finalizar();
	void update(int p);
	virtual ~ProgressBar();
};

#endif /* PROGRESSBAR_H_ */
